
import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class home extends javax.swing.JFrame {
	private JLabel lblLogo;
	private JTextPane jTextPane1;
	private JScrollPane jScrollPane1;
	private JLabel leader3;
	private JLabel facebook;
	private JLabel twitter;
	private JLabel leader2;
	private JLabel email;
	private JLabel leader1;
	private JLabel lblWeb;
	private JPanel block1;
	private JPanel divider2;
	private JButton btnIncnt;
	private JButton btnPkg;
	private JButton btnHome;
	private JPanel divider1;
	private JButton btnAgent;
	private JLabel lblCompUpdate;
	private JLabel imgHome;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				home inst = new home();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public home() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			getContentPane().setLayout(null);
			getContentPane().setBackground(new java.awt.Color(255,255,255));
			this.setTitle("Travel Experts Home");
			this.setIconImage(new ImageIcon(getClass().getClassLoader().getResource("images/travelIcon.png")).getImage());
			this.setResizable(false);
			{
				lblWeb = new JLabel();
				getContentPane().add(lblWeb);
				lblWeb.setForeground(Color.white);
				lblWeb.setText("Web");
				lblWeb.setBounds(12, 136, 102, 15);
				lblWeb.setBackground(new java.awt.Color(255,255,255));
				lblWeb.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				leader1 = new JLabel();
				getContentPane().add(leader1);
				leader1.setForeground(Color.white);
				leader1.setText("....................................");
				leader1.setBounds(12, 147, 271, 29);
				leader1.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				email = new JLabel();
				getContentPane().add(email);
				email.setForeground(Color.white);
				email.setText("Email");
				email.setBounds(12, 175, 63, 30);
				email.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				leader2 = new JLabel();
				getContentPane().add(leader2);
				leader2.setForeground(Color.white);
				leader2.setText("....................................");
				leader2.setBounds(12, 200, 304, 15);
				leader2.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				twitter = new JLabel();
				getContentPane().add(twitter);
				twitter.setForeground(Color.white);
				twitter.setText("Twitter");
				twitter.setBounds(12, 224, 103, 25);
				twitter.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				leader3 = new JLabel();
				getContentPane().add(leader3);
				leader3.setForeground(Color.white);
				leader3.setText("....................................");
				leader3.setFont(new java.awt.Font("SansSerif",1,18));
				leader3.setBounds(12, 241, 265, 29);
			}
			{
				facebook = new JLabel();
				getContentPane().add(facebook);
				facebook.setForeground(Color.white);
				facebook.setText("Facebook");
				facebook.setBounds(12, 274, 114, 27);
				facebook.setFont(new java.awt.Font("SansSerif",1,18));
			}
			{
				lblLogo = new JLabel();
				getContentPane().add(lblLogo);
				lblLogo.setBounds(24, 12, 257, 78);
				lblLogo.setBackground(new java.awt.Color(255,0,0));
				lblLogo.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/TravelLogo.jpg")));
			}
			{
				divider1 = new JPanel();
				getContentPane().add(divider1);
				divider1.setBounds(425, 26, 5, 436);
				divider1.setBackground(new java.awt.Color(0,0,0));
			}
			{
				divider2 = new JPanel();
				getContentPane().add(divider2);
				divider2.setBounds(771, 26, 5, 436);
				divider2.setBackground(new java.awt.Color(0,0,0));
			}
			{
				imgHome = new JLabel();
				getContentPane().add(imgHome);
				imgHome.setBounds(0, 101, 453, 246);
				imgHome.setSize(425, 225);
				imgHome.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/tower.jpg")));
			}
			{
				lblCompUpdate = new JLabel();
				getContentPane().add(lblCompUpdate);
				lblCompUpdate.setText("Travel Experts Company Update");
				lblCompUpdate.setBounds(12, 338, 241, 23);
				lblCompUpdate.setFont(new java.awt.Font("SansSerif",1,12));
			}
			{
				btnAgent = new JButton();
				getContentPane().add(btnAgent);
				btnAgent.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/btnAgent.jpg")));
				btnAgent.setBounds(526, 26, 70, 300);
				btnAgent.setBackground(new java.awt.Color(255,255,255));
				btnAgent.addMouseListener(new MouseAdapter() {
					public void mouseClicked(MouseEvent evt) {
						System.out.println("btnAgent.mouseClicked, event="+evt);
						//TODO add your code for btnAgent.mouseClicked
						PasswordDialogue inst = new PasswordDialogue(2);
						inst.setLocationRelativeTo(null);
						inst.setVisible(true);
						home.this.dispose();
					}
				});
			}
			{
				jScrollPane1 = new JScrollPane();
				getContentPane().add(jScrollPane1);
				jScrollPane1.setBounds(12, 367, 386, 95);
				jScrollPane1.setBorder(null); 
				{
					jTextPane1 = new JTextPane();
					jScrollPane1.setViewportView(jTextPane1);
					jTextPane1.setText("It is critical for travel agencies to maximize every possible revenue opportunity in the travel industry today, while carefully controlling costs.  Airline commission cuts continue to reduce agency revenues making non-air commissions more important than ever.");
							jTextPane1.setBounds(12, 373, 413, 134);
				}
			}
			{
				btnHome = new JButton();
				getContentPane().add(btnHome);
				btnHome.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/btnHm.jpg")));
				btnHome.setBounds(444, 26, 70, 300);
				btnHome.addMouseListener(new MouseAdapter() {
					public void mouseClicked(MouseEvent evt) {
						PasswordDialogue inst = new PasswordDialogue(1);
						inst.setLocationRelativeTo(null);
						inst.setVisible(true);
						home.this.dispose();
					}
				});
			}
			{
				btnPkg = new JButton();
				getContentPane().add(btnPkg);
				btnPkg.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/btnPkg.jpg")));
				btnPkg.setBounds(608, 26, 70, 300);
				btnPkg.addMouseListener(new MouseAdapter() {
					public void mouseClicked(MouseEvent evt) {
						PasswordDialogue inst = new PasswordDialogue(3);
						inst.setLocationRelativeTo(null);
						inst.setVisible(true);
						home.this.dispose();
					}
				});
			}
			{
				btnIncnt = new JButton();
				getContentPane().add(btnIncnt);
				btnIncnt.setIcon(new ImageIcon(getClass().getClassLoader().getResource("images/BtnProd.jpg")));
				btnIncnt.setBounds(690, 26, 70, 300);
				btnIncnt.addMouseListener(new MouseAdapter() {
					public void mouseClicked(MouseEvent evt) {
						PasswordDialogue inst = new PasswordDialogue(4);
						inst.setLocationRelativeTo(null);
						inst.setVisible(true);
						home.this.dispose();
					}
				});
			}
			{
				block1 = new JPanel();
				getContentPane().add(block1);
				block1.setBackground(new java.awt.Color(24,101,153));
				block1.setBounds(776, 101, 103, 225);
			}
			pack();
			this.setSize(890, 519);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
